<template>
  <div>
    <Dog v-for="(dog, index) in list"
    :key="index"
    :url="dog.url"
    :name="dog.name"
    />
  </div>
</template>

<script>
import DogB from '../src/components/DogB.vue'
export default {
  data() {
    return {
      list: [
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
        {
          url:"https://image.so.com/view?ie=utf-8&src=hao_360so&q=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&tab=cprt&correct=%E9%87%91%E6%AF%9B%E7%8A%AC%E5%9B%BE%E7%89%87%E5%A4%A7%E5%85%A8&ancestor=list&cmsid=58aaacd8389b55d1507a7043d7baf5d6&cmras=0&cn=0&gn=0&kn=0&crn=0&bxn=0&fsn=60&cuben=0&pornn=0&manun=0&adstar=0&clw=256#id=2e313d4048e871eeeef7068ec0e6c3e5&prevsn=120&currsn=180&ps=238&pc=60",
          name: "金毛",
        },
      ],
    };
  },
  components: {
    DogB
  }
};
</script>